package cn.i7baozh.alibaba.sentinel.controller;

import cn.i7baozh.alibaba.sentinel.remote.RemoteService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhangbaoqi532
 * @date 2024/12/30
 */
@RestController
public class PayFeignSentinelController {

    @Resource
    private RemoteService remoteService;

    @GetMapping("/alibaba/sentinel/feign/msg")
    public String getServiceMsg(){
        return remoteService.getMsg();
    }
}
